Adodc1. RecordSource="select * from the node temperature and humidity information table where date='" & amp; DTPicker1. Value & amp; "'
"Always an error format error, how to write this? Great god!
CodePudding user response:
What is your database?ACCESS, use the #,
Essentially, use the ',
CodePudding user response:
Adodc1. RecordSource="select * from the node temperature and humidity information table where date=#" & amp; DTPicker1. Value & amp; "#"CodePudding user response:
Using VFP databaseCodePudding user response:
VFP database should be similar to Access database,Adodc1. RecordSource="select * from the node temperature and humidity information table where date='" & amp; DTPicker1. Value & amp; "'
"Is amended as: (string data is converted to a date in the control data, and the two sides with # beginning and end)
Adodc1. RecordSource="select * from the node temperature and humidity information table where date=#" & amp; CDate (DTPicker1 Value) & amp; "*"
CodePudding user response:
Just got the wrong number:VFP database should be similar to Access database,
Adodc1. RecordSource="select * from the node temperature and humidity information table where date='" & amp; DTPicker1. Value & amp; "'
"Is amended as: (string data is converted to a date in the control data, and the two sides with # beginning and end)
Adodc1. RecordSource="select * from the node temperature and humidity information table where date=#" & amp; CDate (DTPicker1 Value) & amp; "#" just as the *, cannot be modified after the submission, said no permissions,
CodePudding user response: