Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: odbc load variable not found

From   "Puddicombe, David" <>
To   "''" <>
Subject   st: odbc load variable not found
Date   Fri, 25 Oct 2013 11:28:05 -0700


I am trying to import data from an access database table to stata using odbc load.  There are a few variables in the access database table with a full stop/period in the variable name, which it seems cannot be loaded into stata using the odbc load command:
- Main_Form.IDNUM
- Main_Form.Genotype
- Lab_PCR.Genotype
- Vaccine.IDNUM

The command I am using is below.  It works if I exclude the variables listed above with the '.' in the variable name.

odbc load ///
	primarykey="Primary Key" ///
	main_formidnum="Main_Form.IDNUM" /// 
	casereport="Case Report" ///
	, table(data_export_all)

Is it possible import the variables with '.' in the variable name?


David Puddicombe

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index