Hi, On my Main menu, there are two txtbox, StartDate and EndDate. Both should have default value derived from a select query (select only one record from field [Stat Per] in a table: "Jul99-Jun00". Data type is Text) I want StartDate to have a default value: 199907, EndDate: 200006. I've tried to use Exp1:left([Stat Per],5) in the select query. But it returns me an error msg:Ambiguous expression in your query. Then I changes the field name from Stat Per to Stat. It still doesn't work.
My question is What's wrong? And how can I convert "Jul99-Jun00" to two separate value: 199907, 200006?
Thanks a bunch in advance
My question is What's wrong? And how can I convert "Jul99-Jun00" to two separate value: 199907, 200006?
Thanks a bunch in advance