Jump to content
Silver^Rose

Ms Access

Recommended Posts

assalamualaikum..

sy nk tanya ni..mcm mana nk setkan parameter query?

contoh kalo nk export out report kita leh pilih by year

then file akan diexport ke dalam excel..

da sesapa leh tlg x??

Share this post


Link to post
Share on other sites

assalamualaikum..

sy nk tanya ni..mcm mana nk setkan parameter query?

contoh kalo nk export out report kita leh pilih by year

then file akan diexport ke dalam excel..

da sesapa leh tlg x??

Thanks 4 ur respond tp x jadi pun..huhuhu

syntax error jer

Share this post


Link to post
Share on other sites

cara paling senang is, kau pakai wizard MS Access tu. Dia akan tanya kau apa yg kau nak. Kau main next-next sampai puas hati then tengok result. Kalau result dia betul seperti yg kau nak, kau right click, pilih "SQL", then copy laa SQL query tu ke dalam programming kau.

Utk filter by date sepertu tahun, dia tambah symbol % (nie kalau utk variable. Kalau direct input, guna ' jek)

Edited by Coisox

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...