Forum Topic

MS Access and SQL Server Developers Forum

  • This is for those who are using MS Access as front end, and SQL Server as Backend for data.

    AFAIK:
    MS Access Versions could be MS Access 2003, 2007 and later 2010.
    MS Access 2003 Runtime for distribution is not free, while Access 2007 Runtime for distribution is free.
    MS Access 2003 Applications can run in MS Access 2007 even in .mdb or mde format

    MS SQL Version is 2008 whether Express or Standard Version.
    SQL Express is free, and could run on Windows 7 and can server networked users.

    IMO:
    MS Access is a easy and feature rich rapid development tool when you know how to use it.
  • FYI:
    Microsoft release SQL Server 2008 R2 Express Edition among other versions.
    This version of express increased the db size to 10GB, previously at 4GB only.
    CPU and RAM remains at 1.
  • any ms access front end and mssql data back end developers there?..
  • Hi,

    I use MS Access as FE and BE but I use MS SQL too if needed. Well I agree with you, it\'s a powerful tool if you know how to unleash its power. Any tips you share will be appreciated.
  • any ms access front end and mssql data back end developers there?..


    meron pa palang gumagawa nito. hehehe

    hindi na kasi ganun advisable na gamitin FE ang access e.
    Unang una wala multi-threading. pag meron ka iloload na data na will take time to load, wala na, hindi na responsive yung UI mo.
    iilan ilan lang ang built in control ng access, tapos hindi ka pa pwede i-customize yung loading nung control na yun. Wala GDI+ sa access.
    Link table/ODBC lang gamit para maka-connect sa sql server. Mabagal ito. Mas mabilis pa ang oledb.
    etc etc
  • in some situations, you may not need multi-threading.
    diskarte na lang sa loading of data ..i use views, sometimes load data and disconnect from SQL server immediately.

    i also tried pulling data over VPN from MS SQL Server..

    So far, ok naman. It depends.
  • how about security, roles, access rights.

    If I want user to have read only access to the system, is there a way to I stop him to go in design mode and edit the records in the link table?

    how bout visual inheritance, master pages so i will have consistent looks in all forms.

    how bout reports?is access report as powerful as crystal or reporting services?

    etc
  • If I want user to have read only access to the system, is there a way to I stop him to go in design mode and edit the records in the link table?


    somehow yes.. there is a way to hide your codes using mde or accde. and there are codes to disable the shift key to bypass.
  • ow bout reports?is access report as powerful as crystal or reporting services?


    not as powerful of course as crystal. but you can do a lot of reports.
  • ^ for this thread.
  • @quietcolor
    transaction log ba yan ng MS SQL database?
  • @quietcolor
    yes pwede kang mag restore gamit ang full back up mo yesterday, plus the transaction log. try lang.

    search ka ng procedures..
  • paano ba procedure neto mga bossing? mag la lanbased din kasi ako, access ung database ko tapos sql server ung gagagamitin? para makapag update ako sa kabilang computer?
  • para nga pala to sa thesis ko, tapos ko na kasi ung system, ila lanbased na lang
  • paano ba procedure neto mga bossing? mag la lanbased din kasi ako, access ung database ko tapos sql server ung gagagamitin? para makapag update ako sa kabilang computer?



    kunyari ganito setup mo.

    Computer 1 - Database Server
    Computer 2 - client
    Computer 3 - client


    sa computer 1, gawa ka ng network share. Gawa ka ng folder sa drive C, tapos share mo yung folder na yun.

    sa Computer 2, baguhin mo yung connectionstring mo, yung path sa database mo gawin mong \\\\Computer1\\<Shared Folder>\\Access.mdb

    sa Computer 3, baguhin mo yung connectionstring mo, yung path sa database mo gawin mong \\\\Computer1\\<Shared Folder>\\Access.mdb
  • @haroldsanchez
    access ung database ko tapos sql server ung gagagamitin


    do you mean ms access ang front-end mo tapos sql server ang database backend mo?
    yung data mo ay nasa sql server?
  • Ang data ko sir ay nasa msacess, bale magaupdate cya through sqlserver
  • @sir arthur, ah sir bale khit d na ko gumamit ng sqlserver? Mag ne network sharing nalang ako tas may idadagdag lang ako sa connection string?
  • oo


    wala ka idadagdag sa connection string, babaguhin mo lang yung path nung Access file mo. ganito

    Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\\\IP ng database server\\name nung shared folder\\myAccess2007file.accdb;Jet OLEDB:Database Password=MyDbPassword;
  • @haroldsanchez
    suggest ko lang. kung alam mo gumamit ng ms msql server, pwede mo rin syang gawing back end para sa access front end mo.
    mas ok sya na setup kesa ms access lang lahat.lalo na pag marami users sa LAN.

    may upgrade path pa kung ganyan. pwede sya gawing vb.net or visual c# or asp.net or php ang front end later on pag gusto mo.
    my opinion lang. :)
  • cge sir subukan ko sa vmware

    @phdot

    d nga ko marunong mag sql server sir eh tsaka un lang naman hinihingi samin, ung lanbased connection
  • hi guys, how do you create a lookup in ms access containing 10 years before now and 10 years from now? bale ang magiging laman ng lookup ay:

    2002
    2003
    2004
    .
    .
    .2022

    tapos next year ganito na yung magiging laman nya:

    2003
    2004
    2005
    .
    .
    .2023
  • hi guys, meron akong frontend at backend db. sa backend nandun yung mga table relationships. sa frontend puro linked tables lang.

    sa backend kapag nag-add ng record, lumalabas yung mga subdatasheets ng parent table (may maliit na + sign). pero sa frontend kapag add ako ng record dun sa parent table, hindi lumalabas yung maliit na +.

    may nabasa ako sa internet na wag na daw pansinin yung maliit na plus kasi hindi naman directly sa table ang gagamitin ng users bagkus gumamit na lang daw ng forms with subforms.

    ang tanong ko lang, gumagana kaya yung relationships ko na dinefine ko sa backend or kailangan ko bang irelate yung tables sa forms? kapag inopen ko yung relationships view sa frontend, applied naman yung nasa backend. yung nga lang kapag inopen ko directly yung linked table sa frontend, wala yung maliit na +.
  • @nevz

    Hindi yung + sign ang basehan ng relationship. Bukas ka ng query editor tapos drag mo yung parent table at child table. Pag me lumabas na relationship, ibig sabihin nun e nakasetup yung relation mo.
  • hellow po
  • Hi masters, need your help.

    I have two tables with the following data. I am doing this in MS Access and I need to execute this without relying on a subquery as it is too slow to run on so many data.

    Table1 - list of unique tickets
    -TicketNumber -> primary key
    -TicketCreateTimestamp

    Table2 - list of ticket changes by field
    -ChangeId -> primary key, autonumber
    -TicketNumber -> ticket number where a change is made
    -ChangeTimestamp -> date of the change for a given entry
    -ChangedField -> name of the field that has been changed in a form
    -NewValue -> the new value entered to the changed field after saving

    Task: I need to get the latest Status change within the last 24 hours for each TicketNumber. I currently have the following as my query (this works, but it runs very very slowly):

    SELECT
    t1.TicketNumber,
    t1.TicketCreateTimestamp,
    (SELECT TOP 1
    t2.NewValue
    FROM
    Table2 AS t2
    WHERE
    t2.TicketNumber = t1.TicketNumber AND
    t2.ChangedField = "Status" AND
    t2.ChangeTimestamp < DateAdd("d", 1, t1.TicketCreateTimestamp)
    ORDER BY
    t2.ChangeDate DESC
    ) AS LastStatusChangedToWithin24HrsFromTicketCreateDate
    FROM
    Table1 AS t1
    GROUP BY
    t1.TicketNumber,
    t1.TicketCreateDate;


    I'm thinking of using Greatest-N-Per-Group samples but for some reason I can't pull it off with this kind of setup. Please help in optimizing this query. Thanks.
  • Post deleted #11617864
  • Post deleted #11617868
  • ok ba gamitin ang accessimagine for photo uploading?