Ò»¸ö³ÌÐòÍùaccessÊý¾Ý¿âÀïÃæд¼Ç¼£¬Ã¿Ììд5ÍòÌõ£¬µÚ¶þÌìɾ³ýÇ°Ò»ÌìµÄ5ÍòÌõ
µ«ÊÇaccessÎļþµÄÌå»ý»áÂýÂýÔö¼Ó¡£¡£¡£
ÎÒ²»Ñ¹ËõÊý¾Ý¿âµÄÇé¿öÏ£¬Ê²Ã´Ê±ºòÊý¾Ý¿âµÄÌå»ý²Å²»Ôö¼ÓÄØ£¿
ÎÒɾ³ý¼Ç¼µÄʱºò£¬Êý¾Ý¿âÌå»ýËäÈ»²»¼õС£¬µ«AccessÊÇ×öÁ˼ǼµÄ£¬ÎÒÏëµ±Êý¾Ý¿â´ïµ½Ò»¶¨³Ì¶ÈµÄʱºò£¬access»áÍùÒÔǰɾ³ýµÄ¿Õ¼äÉÏдÊý¾Ý ......
ÎÒÔ±¾ÊÇÓÃACCESSµÄÊý¾Ý¿â£¬ÏÖÔÚ¸ÄÓÃSQLServer2005ÁË£¬ËùÒÔÏë°Ñ֮ǰµÄÊý¾ÝÈ«¶¼µ¼µ½SQLSERVERÀïÀ´¡£
ÏÖÓÐÎÊÌâÈçÏ£º
1:¸ÄÓÃSQLserverºó£¬Êý¾Ý¿âµÄ½á¹¹ÓиĶ¯¡£Ô±¾ÔÚaccessÖÐËùÓеĵ¥¾ÝÓÃÒ»¸ö¡°µ¥¾ÝÐÅÏ¢¡±Ö÷±íºÍÒ»¸ö¡°µ¥¾ÝÃ÷ϸ¡±´Ó±íÀ´´æ´¢£¬SQLSERVERÖзֳÉÁË¡°·¢»õµ¥¾Ý¡±¡¢¡°·¢»õµ¥¾ÝÃ÷ϸ¡±¡¢¡°Èë¿âµ¥¾Ý¡±¡¢¡°Èë ......
ÎÒÓÐÒ»¸öUnits±í,½á¹¹Îª:
ID UnistsName
UN1 ºÚÁú½¶«·½Ñ§Ôº
UN2 ÖйúÒƶ¯Í¨Ðż¯ÍźÚÁú½ÓÐÏÞ¹«Ë¾
UN3 &nb ......
sqlÓï¾äÊÇÕâÑùдµÃ
string sql = "select * from shophistory where username(stringÀàÐÍ)¡¡like '%"+ name +"%' ";
½á¹ûÔËÐб¨´í£º(²Ù×÷·û¶ªÊ§) ÔÚ²éѯ±í´ïʽ ˵ºó°ë¶ÎÓдíÎó like '%"+ name +"%' ";
²é¹ýÍøÉÏ×ÊÁÏ ËµÊÇÓÃ* #»ò ?¶¼ÐÐ £¬µ«Ô ......
VB+Access×öµÄϵ統£¬
Ôõ樣°Ñ數據庫Access內ÈÝ導³öexecl£¿
ÏÖÔÚû¶«Î÷ÊÔ£¬´ÓÍøÉÏÕÒÁ˶δúÂëÄã¿´¿´
VB code:
Private Sub ExportOneTable()
'EXPORTS TABLE IN ACCESS DATABASE TO EXCEL
'REFERENCE TO DAO IS REQUIRED
Dim strExcelFile As String
Dim strWorkshe ......
ÎÒµÄÊý¾Ý¿âÊǼòÌåsqlserver2000 ,ÎÒÏëÔÚ·±ÌåaccessÏÂÁ¬½Ó,ͨ¹ýodbcÊÇ¿ÉÒÔÁË,µ«ÔÚaccessϳöÏÖ´ò¿ªµÄ±íÈ«ÖÐ"#ÒÑɾ³ý"
²»ÖªµÀÒªÔõô²Ù×÷²Å¿ÉÒÔÓÃACCESS·±ÌåÁ¬½Ó¼òÌåsqlserver2000.лл!!!
´ó¼Ò¶¼ÔÚæÂð?
ͨ¹ýodbcÁ¬½ÓµÄ
......